#include "RocketSY.h"
#include <QDebug>

#include ".\UI\ModRun\Output\FactoryOutput.h"

void RocketSY::Fly()
{
    QString strOutput = "抽象工厂模式：私营火箭 飞";
    qDebug() << strOutput;
    std::shared_ptr<IOutput> pOutPut = FactoryOutput::GetInstance()->CreateRunOutput();
    if (pOutPut)
    {
        std::initializer_list<QString> outList{ strOutput };
        pOutPut->OutPut(outList);
    }
}

